package com.wj.blog.service;

import com.wj.blog.pojo.Music;
import com.wj.blog.utils.Page;

import java.util.List;

public interface MusicService {
    void save(Music music);

    void delete(Integer id);

    void update(Music music);

    Music getById(Integer id);

    List<Music> getByPage(Page<Music> page);

    Integer getCount(Page<Music> page);

    List<Music> getList(Page<Music> page);
}
